package com.cn.code;

public enum CodeEnum {


    //操作成功
    SUCCESS("0000","操作成功"),
    
    //操作失败
    ERROR("9999","操作失败"),;

    CodeEnum(String code, String messsage) {
        this.code = code;
        this.messsage = messsage;
    }

    private String code;
    private String messsage;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMesssage() {
        return messsage;
    }

    public void setMesssage(String messsage) {
        this.messsage = messsage;
    }
}
